package com.miracle9.game.dao;
import com.miracle9.game.bean.Pager;
import com.miracle9.game.entity.Mail;
import org.springframework.stereotype.Repository;

@Repository
public class MailServiceDao extends SqlOperating<Mail, Integer>
{
  public Integer saveReturnInteger(Mail m)
  {
    return (Integer) saveReturn(m);
  }
  
  public Pager getPager(Pager pager)
  {
    return q_CreateSqlsPager("from Mail", pager, new Object[0]);
  }
}
